#!/bin/sh

choose="$(printf "poweroff\nreboot\nquit gui" | bemenu -p "login")"

case $choose in
    "quit gui") quitgui ;;
    *) loginctl "$choose" ;;
esac
